/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.loan;

import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * 贷款产品资料关系表管理Entity
 * @author 王磊
 * @version 2016-09-08
 */
public class LoanMaterialtypeRe extends DataEntity<LoanMaterialtypeRe> {
	
	private static final long serialVersionUID = 1L;
	protected String loanId;		// 产品ID
	protected String materialTypeId;		// 所需资料id
	
	public LoanMaterialtypeRe() {
		super();
	}

	public LoanMaterialtypeRe(String id){
		super(id);
	}

	@Length(min=1, max=64, message="产品ID长度必须介于 1 和 64 之间")
	public String getLoanId() {
		return loanId;
	}

	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}
	
	@Length(min=1, max=64, message="所需资料id长度必须介于 1 和 64 之间")
	public String getMaterialTypeId() {
		return materialTypeId;
	}

	public void setMaterialTypeId(String materialTypeId) {
		this.materialTypeId = materialTypeId;
	}
	
}